﻿

using System.Text.Json.Serialization;

namespace MododorWebAPI.Models
{
    public class CompanyModel
    {
        public long id { get; set; }
        public long IdCompany { get; set; }
        public string? CompanyNameCh { get; set; } 
        public string? CompanyNameEn { get; set; } 
        public int? CompanyZip { get; set; } 
        public string? CompanyCity { get; set; }
        public string? CompanyAdd { get; set; } 
        public string? CompanyTel { get; set; }
        public DateTime? CompanyDate { get; set; }
        public bool? CompanyEnable { get; set; }
        [JsonIgnore]
        public List<ClientModel>? Clients { get; set; }
        [JsonIgnore]
        public List<ContractModel>? Contracts { get; set; }
    }
}
